#include "RtCore.h"
#include "RtObject.h"
#include "RtRoot.h"
#include "Channels.h"
#include "RtTimerLoop.h"
#include "RtScriptJob.h"

void registerRtCoreClasses()
{
    RtRoot* rt = RtObject::root();

    rt->registerClass(&RtObject::staticMetaObject);

	// jobs & loops
	rt->registerClass(&RtJob::staticMetaObject);
	rt->registerClass(&RtDelayLoop::staticMetaObject);
	rt->registerClass(&RtTimerLoop::staticMetaObject);
	rt->registerClass(&RtScriptJob::staticMetaObject);

	// channels
	rt->registerClass(&RtDataChannel::staticMetaObject);
	rt->registerClass(&RtTestChannel::staticMetaObject);
	rt->registerClass(&RtTimeChannel::staticMetaObject);

}
